home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / eXec / Krotkie opisy / Programy / HTMLreadV1.0.lha / HTMLreadINSTALL / installfiles / UnInstall < prev    next >
Text File  |  2001-02-15  |  6KB  |  153 lines

  1. ; UnInstaller script for HTMLread.rexx
  2. ; $VER:UnInstall HTMLread V1.0 (03.02.2001)
  3.  
  4. (set @default-dest "")
  5. (set @app-name "HTMLread Uninstaller")
  6. (set @user-level 2)
  7. (user 1)
  8.  
  9. (complete 0)
  10.  
  11. (message "\nHTMLread uninstallation!\n\n\n"
  12.          ("This script uninstalls HTMLread!\n")
  13. )
  14.  
  15. (complete 5)
  16.  
  17. (if (exists "YAM:HTMLread" (noreq))
  18.         ( (set path "YAM:HTMLread") )
  19.         ( ( set path (askdir (prompt "Please choose the HTMLread drawer!")
  20.                              (help @askdir-help )
  21.                              (default "YAM:")
  22.                      )
  23.           )
  24.         )
  25. )
  26. (if (askbool (prompt ("\n\nHTMLread UnInstaller!\n\nDo you want realy delete HTMLread\n(%s)\n?" path) )
  27.              (help "Yes if you want delete HTMLread\n\n"
  28.                    "No, if you want skip...")
  29.              (default 0)
  30.              (choices "Yes, delete!" "No, skip!")
  31.     )
  32.    (   (complete 10)
  33.        (run ("c:delete %s/HTMLread#? ALL QUIET FORCE" path))
  34.        (run ("c:delete %s/Scripts#? ALL QUIET FORCE" path))
  35.        (run ("c:delete %s/Optimizer#? QUIET FORCE" path))
  36.        (run ("c:delete %s/MicroRexx#? ALL QUIET FORCE" path))
  37.        (run ("c:delete %s/DOC#? ALL QUIET FORCE" path))
  38.        (run ("c:delete %s/clearCache#? ALL QUIET FORCE" path))
  39.        (run ("c:delete %s/DownloadListPrefs.rx#? ALL QUIET FORCE" path))
  40.        (run ("c:delete %s/bin#? ALL QUIET FORCE" path))
  41.         (complete 70)
  42.        (run ("c:delete %s//UnInstall QUIET FORCE" path))
  43.        (run ("c:delete %s//UnInstall.info QUIET FORCE" path))
  44.        (run ("c:delete %s/UnInstall QUIET FORCE" path))
  45.        (run ("c:delete %s/UnInstall.info QUIET FORCE" path))
  46.        (run ("c:delete %s QUIET FORCE" path))
  47.         (complete 80)
  48.        (run ("c:delete %s.info QUIET FORCE" path))
  49.         (complete 90)
  50.        (run ("c:delete ENV:HTMLread#? ALL QUIET FORCE"))
  51.        (run ("c:delete ENVARC:HTMLread#? ALL QUIET FORCE"))
  52.         (complete 91)
  53.        (run ("c:delete ENV:HRdownload#? ALL QUIET FORCE"))
  54.        (run ("c:delete ENVARC:HRdownload#? ALL QUIET FORCE"))
  55.         (complete 92)
  56.        (run ("c:delete YAM:Icons/ERROR.GIF QUIET FORCE"))
  57.        (run ("c:delete YAM:Icons/DOWNLOAD.GIF QUIET FORCE"))
  58.        (run ("c:delete YAM:Icons/NOTFOUND.GIF QUIET FORCE"))
  59.        (run ("c:delete C:HTMLread QUIET FORCE"))
  60.        (run ("c:delete YAM:badurls.HTMLread QUIET FORCE"))
  61.         (complete 93)
  62.        (if (exists "YAM:Rexx/HTMLread.rx" (noreq))
  63.                 (  (run ("c:delete YAM:Rexx/HTMLread.rx#? ALL QUIET FORCE"))
  64.                 )
  65.                 (  (set hrexx (askfile (prompt "Please select the HTMLread.rx script:")
  66.                                       (help @askdir-help)
  67.                                       (default "YAM:Rexx/")
  68.                              )
  69.                    )
  70.                    (if (exists hrexx (noreq))
  71.                         ( (run ("c:delete %s QUIET FORCE" hrexx))
  72.                           (run ("c:delete %s.bak QUIET FORCE" hrexx))
  73.                         )
  74.                    )
  75.                 )
  76.        )
  77.        (complete 93)
  78.        (if (exists "YAM:Rexx/checkHTML.rx" (noreq))
  79.                 (  (run ("c:delete YAM:Rexx/checkHTML.rx#? ALL QUIET FORCE"))
  80.                 )
  81.                 (  (set hrexx (askfile (prompt "Please select the checkHTML.rx script:")
  82.                                       (help @askdir-help)
  83.                                       (default "YAM:Rexx/")
  84.                              )
  85.                    )
  86.                    (if (exists hrexx (noreq))
  87.                         ( (run ("c:delete %s QUIET FORCE" hrexx))
  88.                           (run ("c:delete %s.bak QUIET FORCE" hrexx))
  89.                         )
  90.                    )
  91.                 )
  92.        )
  93.        (complete 94)
  94.        (if (exists "YAM:Rexx/HRdownload.rx" (noreq))
  95.                 (  (run ("c:delete YAM:Rexx/HRdownload.rx#? ALL QUIET FORCE"))
  96.                 )
  97.                 (  (set hrexx (askfile (prompt "Please select the HRdownload.rx script:")
  98.                                       (help @askdir-help)
  99.                                       (default "YAM:Rexx/")
  100.                              )
  101.                    )
  102.                    (if (exists hrexx (noreq))
  103.                         ( (run ("c:delete %s QUIET FORCE" hrexx))
  104.                           (run ("c:delete %s.bak QUIET FORCE" hrexx))
  105.                         )
  106.                    )
  107.                 )
  108.        )
  109.        (complete 95)
  110.        (if (exists "YAM:Rexx/miamionoff.rx" (noreq))
  111.                 (  (run ("c:delete YAM:Rexx/miamionoff.rx#? ALL QUIET FORCE"))
  112.                 )
  113.                 (  (set hrexx (askfile (prompt "Please select the miamionoff.rx script:")
  114.                                       (help @askdir-help)
  115.                                       (default "YAM:Rexx/")
  116.                              )
  117.                    )
  118.                    (if (exists hrexx (noreq))
  119.                         ( (run ("c:delete %s QUIET FORCE" hrexx))
  120.                           (run ("c:delete %s.bak QUIET FORCE" hrexx))
  121.                         )
  122.                    )
  123.                 )
  124.        )
  125.        (complete 96)
  126.        (if (exists "YAM:Rexx/GENESISonoff.rx" (noreq))
  127.                 (  (run ("c:delete YAM:Rexx/GENESISonoff.rx#? ALL QUIET FORCE"))
  128.                 )
  129.                 (  (set hrexx (askfile (prompt "Please select the GENESISonoff.rx script:")
  130.                                       (help @askdir-help)
  131.                                       (default "YAM:Rexx/")
  132.                              )
  133.                    )
  134.                    (if (exists hrexx (noreq))
  135.                         ( (run ("c:delete %s QUIET FORCE" hrexx))
  136.                           (run ("c:delete %s.bak QUIET FORCE" hrexx))
  137.                         )
  138.                    )
  139.                 )
  140.        )
  141.        (complete 99)
  142.        (message "\nHTMLread is now uninstalled!\n\nDo not forget to remove HTMLread from youre YAM-config! "
  143.                 "Start YAM and run the configwindow. Choose under ARexx: "
  144.                 "»When reading a message«. Remove »YAM:Rexx/HTMLread.rexx«\nBye, bye..."
  145.        )
  146.    )
  147. )
  148.  
  149. (complete 100)
  150. (exit)
  151.  
  152. (welcome)
  153.